TypeRepresentation:a.pythonTypeRepresentation
  PyFunctionTypeRepresentation
    PsiElement(Py:DEF_KEYWORD)('def')
    PsiWhiteSpace(' ')
    PyReferenceExpression: test
      PsiElement(Py:IDENTIFIER)('test')
      PsiElement(Py:DOT)('.')
      PsiElement(Py:IDENTIFIER)('f')
    PyTypeParameterList
      PsiElement(Py:LBRACKET)('[')
      PyTypeParameter
        PsiElement(Py:IDENTIFIER)('T')
      PsiElement(Py:RBRACKET)(']')
    PyParameterListRepresentation
      PsiElement(Py:LPAR)('(')
      PyNamedParameterTypeRepresentation('x')
        PsiElement(Py:IDENTIFIER)('x')
        PsiElement(Py:COLON)(':')
        PsiWhiteSpace(' ')
        PyReferenceExpression: T
          PsiElement(Py:IDENTIFIER)('T')
      PsiElement(Py:RPAR)(')')
    PsiWhiteSpace(' ')
    PsiElement(Py:RARROW)('->')
    PsiWhiteSpace(' ')
    PyReferenceExpression: T
      PsiElement(Py:IDENTIFIER)('T')